# Copyright (C) 2015-2024, Wazuh Inc.
# Created by Wazuh, Inc. <info@wazuh.com>.
# This program is free software; you can redistribute it and/or modify it under the terms of GPLv2
from pathlib import Path
from wazuh_testing import FEEDS_PATH
from wazuh_testing.modules import vulnerability_detector as vd

# Constants & base paths
DATA_PATH = Path(Path(__file__).parent, 'data')
TEST_CASES_PATH = Path(DATA_PATH, 'test_cases')
CONFIGURATIONS_PATH = Path(DATA_PATH, 'configuration_templates')

# Offline feeds
custom_rhel_oval_feed_path = str(Path(FEEDS_PATH, 'redhat', vd.CUSTOM_REDHAT_OVAL_FEED))
custom_rhel_json_feed_path = str(Path(FEEDS_PATH, 'redhat', vd.CUSTOM_REDHAT_JSON_FEED))
custom_nvd_json_feed_path = str(Path(FEEDS_PATH, 'nvd', vd.CUSTOM_NVD_FEED))
custom_debian_oval_feed_path = str(Path(FEEDS_PATH, 'debian', vd.CUSTOM_DEBIAN_OVAL_FEED))
custom_debian_json_feed_path = str(Path(FEEDS_PATH, 'debian', vd.CUSTOM_DEBIAN_JSON_FEED))
custom_cpe_helper_path = str(Path(FEEDS_PATH, 'cpe_helper', vd.CUSTOM_CPE_HELPER))
